import request from '../utils/request.js'
import api from './api.js'

export function getCategoryList(parent_id) {
  return request.get(api.CategoryList, { parent_id: parent_id }, { noAuth: true })
}